// pages/flow/component/flowList.js
const flowConfig = require("./config/flowConfig");
const listBehavior = require("../../../behaviors/list");

Component({
  behaviors:[listBehavior],
  /**
   * 组件的属性列表
   */
  properties: {
    hasNodeName: {
      type: Boolean,
      value: false
    },
    nodeNameTitle:{
      type: String,
      value: '当前节点'
    },
    hasPrevTime: {
      type: Boolean,
      value: false
    },
    prevTimeTitle: {
      type: String,
      value: '最新处理'
    },
    hasSubmitTime:{
      type: Boolean,
      value: false
    },
    submitTimeTitle: {
      type: String,
      value: '提交时间'
    },
    hasApplyerName:{
      type: Boolean,
      value: false
    },
    hasApplyerDepartmentName:{
      type: Boolean,
      value: false
    }
  },
  data: {
    flowTypeObj: flowConfig.flowTypeObj
  },
})